package cn.msn.pet.service;

import cn.msn.basic.util.AjaxResult;
import cn.msn.basic.util.PageList;
import cn.msn.pet.domain.SearchMasterMsg;
import cn.msn.basic.service.IBaseService;
import cn.msn.pet.query.SearchMasterMsgQuery;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2022-09-07
 */
public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    AjaxResult publish(SearchMasterMsg searchMasterMsg, HttpServletRequest request);

    PageList<SearchMasterMsg> toHandle(SearchMasterMsgQuery query, HttpServletRequest request);

    PageList<SearchMasterMsg> user(SearchMasterMsgQuery query, HttpServletRequest request);

    void reject(Long id);

    void accept(Map<String, String> map);
}
